package iotwisp.school.device.entity;

import iotwisp.base.orm.StringIdBaseEntity;
import iotwisp.school.area.entity.Scene;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;

/**
 * 空调状态，用作场景中的设备状态明细
 */
@SuppressWarnings("serial")
@Data
@EqualsAndHashCode(callSuper = false)
@DynamicUpdate
@DynamicInsert
@Entity
@Table(name = M.TABLE_PREFIX + "light_scene")
public class LightScene extends SceneItem {

    private EmAirConditionerStatus status;
}
